--[[
    单个聊天表情
]]--

local blaze = require "blaze"
local app = require "app"
local gamelib = require "club.threecard.gamelib"

local M = gamelib.ui.element()

function M:ctor(config)
    assert(config)
    self.config = config
    self.res = config.res
end

function M.new_from_id(emoji_id)
    local config = gamelib.config.chat.get_emoji(emoji_id)
    return M.new(config)
end

return M